#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <mpi.h>

int main(int argc,char** argv)
{
   int          taskid, ntasks;
   int          ierr,i,j,itask;
   int          buffsize;

   MPI::Init(argc, argv);

   taskid = MPI::COMM_WORLD.Get_rank();
   ntasks = MPI::COMM_WORLD.Get_size();

   printf("ntasks= %d : taskid= %d  : Hello World!\n",ntasks,taskid);

   MPI::Finalize();

}

